const path = require("path");

function resolve(dir) {
  path.join(__dirname, dir);
}
module.exports = {
  publicPath: "/backend/",
  //打包的输出目录
  outputDir: "backend/",
  //静态资源打包路径
  // assetsDir: "backend",
  //保存是校验
  lintOnSave: true,
  runtimeCompiler: true,

  //默认false 可以加快打包
  productionSourceMap: false,
  //设置代理
  devServer: {
    port: 8081,
    host: "0.0.0.0",
    hot: true,
    disableHostCheck: true,
  },
};
